package com.atguigu.chapter02

object TestForceTransfer {

  def main(args: Array[String]): Unit = {
    var n1 : Int = 2.5.toInt

    var r1: Int = 10 * 3.5.toInt + 6 * 1.5.toInt
    var r2: Int = (10 * 3.5 + 6 * 1.5).toInt
    println("r1=" + r1 + " r2=" + r2 + " n1= "+n1)
  }

}
